body {
  background-color: #004da0;
  background-image: url(https://d24fv22ldrqles.cloudfront.net/gameoflife-backend/8cWUDIM1ERltom4.webp);
  background-attachment: fixed;
  background-size: cover;
}

.loading-svg {
  height: 150px;
  width: 150px;
  margin: 8px auto;
  background: url(../img/loading.svg) no-repeat center;
  background-size: cover;
}

.loading-placeholder {
  height: 150px;
  width: 150px;
  margin: 8px;
}

input[type="file"] {
  display: none;
}

.rle-file-upload {
  cursor: pointer;
  line-height: 8px;
}

.githubContainer {
  width: 150px;
  height: 75px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(315deg) translateX(-28px) translateY(-53px);
  z-index: 999;
  /* background-color: #a5a5a5; */
}

.githubContainer:hover {
  background-color: #a5a5a5;
}

.githubLink {
  transform: scale(0.8, 0.8);
}

.githubImg {
  transform: translateY(0.4rem);
}

.poetry-data-display {
  width: 100%;
  height: 8vh;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Times New Roman", 宋体, Georgia, Serif;
  color: #d3e0ea;
  cursor: default;
}

.poetry-enter {
  opacity: 0;
}

.poetry-enter.poetry-enter-active {
  opacity: 1;
  transition: opacity 500ms ease-in;
}

.poetry-leave {
  opacity: 1;
}

.poetry-leave.poetry-leave-active {
  opacity: 0;
  transition: opacity 500ms ease-in;
}

.lgswitcherContainer {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.3125rem 0.625rem 0 0;
  margin-right: 0.625rem;
  height: 3.75rem;
  z-index: 20;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.selector {
  position: relative;
  background: rgba(0, 0, 0, 0.1);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 1.5625rem;
}

.lgswitcherContainer .selector span {
  padding: 0 0.4375rem;
  height: 2.125rem;
  min-width: 2.125rem;
  color: rgba(0, 0, 0, 0.3);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 1.0625rem;
  transition: all 0.3s ease;
}

.lgswitcherContainer *,
:after,
:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.lgswitcherContainer .selector::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.125rem;
  height: 2.125rem;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 1.0625rem;
  transition: all 0.3s ease;
  display: block;
  z-index: -1;
}

.lgswitcherContainer .cn::after {
  transform: translateX(0);
}

.lgswitcherContainer .en::after {
  width: 2.6875rem;
  transform: translateX(2.125rem);
}

.lgswitcherContainer .cn .langCn {
  color: #fff;
}

.lgswitcherContainer .en .langEn {
  color: #fff;
}

.parentbox {
  box-sizing: border-box;
  width: 80vw;
  height: 58vw;
  margin: auto;
  /* padding-top: 1%; */
  position: relative;
}

.childrenbox {
  position: absolute;
  width: 70vw;
  height: 56vw;
  top: 50%;
  left: 50%;
  margin-top: -26vw;
  margin-left: -35vw;
}

.jxgbox {
  max-width: 1140px;
  max-height: 855px;
  width: 64vw;
  height: 48vw;
  margin: 0 auto;
  /* margin-top: 2em; */
}

.buttonmenu {
  margin: 1.3rem auto;
  padding-bottom: 1.625rem;
  border-bottom: 1px solid #c1c1c1;
  text-align: center;
  /* width: 62.5rem; */
  max-width: 1140px;
  width: 100%;
  /* color: #fd7e37; */
  color: #f94b18;
}

.reset {
  width: 5.9rem;
  margin-right: 0.7rem;
  color: #bf0045;
}

.start {
  width: 5.9rem;
  margin-right: 0.7rem;
  color: #bf0045;
}

.originalNumber {
  display: inline-block;
  width: 1.9rem;
}

.originalNumberText {
  margin-left: 0.5rem;
}

.remainLifes {
  display: inline-block;
  width: 1.9rem;
}

.evolutionTimes {
  display: inline-block;
  width: 1.9rem;
  /* padding-right: 1.5%; */
}

.inlineText {
  width: auto;
}

.pattern {
  width: 5rem;
  margin-left: 0.7rem;
  color: #bf0045;
}

.rate {
  width: 5.9rem;
  margin-left: 1.3rem;
  color: #bf0045;
}

.rateLabel {
  width: 5.6rem;
  padding-top: 0.5rem;
  margin-left: 1rem;
  color: #f94b18;
  position: absolute;
  text-align: left;
}

.modal-content {
  color: #000;
  text-align: left;
}

.help-btn-attacher {
  position: relative;
}

.help-center-question-guide-container {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  align-self: flex-end;
  width: 34px;
  position: absolute;
  bottom: 113%;
  right: 7%;
}

.help-center-question-guide-dropdown {
  position: relative;
}

.dui-m-badge {
  display: block;
  margin-bottom: 16px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: PingFang SC, Microsoft YaHei, 黑体, 宋体, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.help-center-question-guide-btn {
  position: relative;
  width: 34px;
  height: 34px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  cursor: pointer;
  background-color: #fff;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.help-svg {
  height: inherit;
  background: url(../img/help-bd2f9e.svg) no-repeat center;
  outline: none;
}

.help-center-question-guide-btn-cover {
  height: inherit;
  position: absolute;
  width: 34px;
  top: 0;
  border-radius: 50%;
  cursor: pointer;
}

.help-center-question-guide-btn-cover:hover {
  background: rgba(0, 0, 0, 0.34);
}

@media screen and (max-width: 1050px) {
  .btn {
    padding: 0.375rem 0.5rem !important;
  }

  .poetry-data-display {
    height: 19vh;
  }

  .reset {
    width: 4.9rem;
    margin-right: 0.7rem;
    color: #bf0045;
  }

  .start {
    width: 4.9rem;
    margin-right: 0rem;
    color: #bf0045;
  }

  .pattern {
    width: 5rem;
    margin-left: 0rem;
    color: #bf0045;
  }

  .rate {
    width: 4.9rem;
    margin-left: 1.3rem;
    color: #bf0045;
  }
}

@media screen and (max-width: 425px) {
  .poetry-data-display {
    height: 33vh;
    user-select: none;
  }

  .lgswitcherContainer {
    padding: 0rem 0.625rem 0 0;
    margin-right: 0;
  }

  .jxgbox {
    width: 96vw;
    height: 72vw;
    margin: 0 auto;
  }

  .buttonmenu {
    border-bottom: 0;
  }

  .textAlignContainer {
    height: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .help-center-question-guide-container {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    align-self: flex-end;
    width: 34px;
    position: absolute;
    bottom: 6.8em;
    right: 8%;
    transform: translateX(8%);
  }
}

@media screen and (min-width: 425px) {
  /*- scrollbar -*/
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #999;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
  ::-webkit-scrollbar-thumb:vertical:hover {
    background-color: #666;
  }
  ::-webkit-scrollbar-thumb:vertical:active {
    background-color: #333;
  }
  ::-webkit-scrollbar-button {
    display: none;
  }
  ::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }
  /*- scrollbar -*/
}
